<?php
class ORMv1purchaseitemselect extends ORMBase {
  public function __construct() {
    parent::__construct('v1purchaseitemselect');
  }

  public function __toEpObject($myManager, $epObject, $object) {
    $epObject->trackId = isset($object->trackId) ? $object->trackId : '';
    $epObject->title = isset($object->title) ? $object->title : '';
    $epObject->value = isset($object->value) ? $object->value : '';
    $epObject->purchaseitem_id = isset($object->purchaseitem_id) ? $object->purchaseitem_id : 0;
    return $epObject;
  }

  public function __toObject($myManager, $epObject, $object) {
    $object->id = $epObject->oid;
    $object->trackId = $epObject->trackId;
    $object->title = $epObject->title;
    $object->value = $epObject->value;
    $object->purchaseitem_id = $epObject->purchaseitem_id;
    return $object;
  }
}
?>
